package com.feicheng.persistence.service.impl;

import com.feicheng.persistence.entity.Sample;
import com.feicheng.persistence.mapper.SampleMapper;
import com.feicheng.persistence.model.SamplePagePojo;
import com.feicheng.persistence.service.ISampleService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cailongyang
 * @since 2022-02-08
 */
@Service
public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> implements ISampleService {

	@Override
	public Page<SamplePagePojo> getSampleByPage(IPage<SamplePagePojo> page, Wrapper wrapper) {
		// TODO Auto-generated method stub
		return this.getBaseMapper().getSamplePage(page, wrapper);
	}

}
